import React from 'react'

import  useColor from '../hooks'
export default function One() {
    const color = useColor(true)
    console.log(color)
  return (
    <div>
        <div style={{background: color}}>one组件</div>
    </div>
  )
}

// import React from 'react'

// export default function one() {
//   return (
//     <div>one</div>
//   )
// }
